package com.lemon.smartsafety.rayeye.entity;

import java.io.Serializable;

/**
 * Created by Cooliean on 16/4/17.
 */
public class FaultDetailVo implements Serializable {

    /**
     * msg : ok
     * flag : true
     * code : 200
     * ob : {"lastTime":1455708319000,"buildingName":"中信泰富","faultId":14090,"pointDesc":"模块 L10M040          ","userName":"中信泰富物业","flowTime":1455709565000,"userId":291}
     */

    private String  msg  = "";
    private boolean flag = false;
    private int     code = 0;
    /**
     * lastTime : 1455708319000
     * buildingName : 中信泰富
     * faultId : 14090
     * pointDesc : 模块 L10M040
     * userName : 中信泰富物业
     * flowTime : 1455709565000
     * userId : 291
     */

    private ObBean ob;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ObBean getOb() {
        return ob;
    }

    public void setOb(ObBean ob) {
        this.ob = ob;
    }

    public static class ObBean {
        private long   lastTime     = 0;
        private String buildingName = "";
        private int    faultId      = 0;
        private String pointDesc    = "";
        private String pointNumber  = "";
        private String userName     = "";
        private String faultDetail  = "";
        private long   flowTime     = 0;
        private int    userId       = 0;

        public long getLastTime() {
            return lastTime;
        }

        public void setLastTime(long lastTime) {
            this.lastTime = lastTime;
        }

        public String getBuildingName() {
            return buildingName;
        }

        public void setBuildingName(String buildingName) {
            this.buildingName = buildingName;
        }

        public int getFaultId() {
            return faultId;
        }

        public void setFaultId(int faultId) {
            this.faultId = faultId;
        }

        public String getPointDesc() {
            return pointDesc;
        }

        public void setPointDesc(String pointDesc) {
            this.pointDesc = pointDesc;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public long getFlowTime() {
            return flowTime;
        }

        public void setFlowTime(long flowTime) {
            this.flowTime = flowTime;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }


        public String getPointNumber() {
            return pointNumber;
        }

        public void setPointNumber(String pointNumber) {
            this.pointNumber = pointNumber;
        }

        public String getFaultDetail() {
            return faultDetail;
        }

        public void setFaultDetail(String faultDetail) {
            this.faultDetail = faultDetail;
        }
    }
}
